﻿using System;
using Volo.Abp.BackgroundJobs;

namespace Xms.Abp.Emailing;

[Serializable]
public class EmailMessage
{
    public Guid? TenantId { get; set; }

    public string From { get; set; }

    public string[] Tos { get; set; }

    public string[] CCs { get; set; }

    public string Subject { get; set; }

    public string Body { get; set; }

    public bool IsBodyHtml { get; set; } = true;

    public string ClientId { get; set; }

    public BackgroundJobPriority Priority { get; set; } = BackgroundJobPriority.Normal;
}

